package com.asman.vr.dto

import androidx.annotation.Keep

@Keep
data class PayChargeData(
    val charge: Charge,
    val isSuccess: Boolean, //如果为true,提示用户：该订单已支付过，不能重复支付
    val paymentId: Long? //支付单ID
)

@Keep
data class Charge(
    val amount: String,
    val amountRefunded: String,
    val amountSettle: String,
    val app: String,
    val body: String,
    val channel: String,
    val clientIp: String,
    val created: String,
    val credential: Credential,
    val currency: String,
    val description: Any,
    val extra: Extra,
    val failureCode: Any,
    val failureMsg: Any,
    val id: String,
    val livemode: Boolean,
    val metadata: Metadata,
    val objectX: String,
    val orderNo: String,
    val paid: Boolean,
    val refunded: Boolean,
    val refunds: Any,
    val reversed: Boolean,
    val subject: String,
    val timeExpire: String,
    val timePaid: Any,
    val timeSettle: Any,
    val transactionNo: Any
)

@Keep
data class Credential(val alipay: Alipay, val objectX: String)

@Keep
data class Alipay(val orderInfo: String)

@Keep
class Metadata

@Keep
class Extra